package com.xiu.weixin.service.wx.event.view;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.xiu.weixin.pojo.message.Message;
import com.xiu.weixin.pojo.message.TextMessage;

@Service
public class ViewEventService {

	public static Message doService(Map<String, String> reqMap) {
		String menuId = reqMap.get("MenuId");
		Message msg = null;
		switch (menuId) {
		case "522276167":
			msg = new TextMessage(reqMap, "你跳到了百度");
			break;
		case "31":
			msg = new TextMessage(reqMap, "你跳到了搜狐");
			break;
		}

		return msg;

	}

}
